pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Thu, 23 Mar 2023 21:26:15 +0000 (22:26 +0100)
commitb6bad3e80413978bd08f5f1c7f751c59c25a9bcb
treec11187d7005726f6fbb2cfce4c299b05f4606464
parent1a9e18e57c24c5920d8aeec554f6ab435af5b2da
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py